package com.infoland.afanmall.model.fuPin.entity;

import java.util.List;

/**
 * @author 王永吉
 * @date 2018/7/3 15:30
 * 扶贫村详情
 * 文字
 */
public class FpCunInfoMessage {

    /**
     * success : true
     * message : null
     * object : {"flag":1,"create_time":"2018-06-29 15:13:36","modify_time":null,"name":"鸡蛋村","context":[{"text":"鸡蛋村盛产大鸡蛋","type":"text"}],"id":4,"goods_ids":"[141]","sort":3,"fupinguan_id":6,"f_url":"http://47.94.246.198/group1/M00/00/25/rBG7OFs13B-AOl5PAABoPHlMIMo93.jpeg"}
     */

    private boolean success;
    private Object message;
    private ObjectBean object;

    public boolean isSuccess() {
        return success;
    }

    public void setSuccess(boolean success) {
        this.success = success;
    }

    public Object getMessage() {
        return message;
    }

    public void setMessage(Object message) {
        this.message = message;
    }

    public ObjectBean getObject() {
        return object;
    }

    public void setObject(ObjectBean object) {
        this.object = object;
    }

    public static class ObjectBean {
        /**
         * flag : 1
         * create_time : 2018-06-29 15:13:36
         * modify_time : null
         * name : 鸡蛋村
         * context : [{"text":"鸡蛋村盛产大鸡蛋","type":"text"}]
         * id : 4
         * goods_ids : [141]
         * sort : 3
         * fupinguan_id : 6
         * f_url : http://47.94.246.198/group1/M00/00/25/rBG7OFs13B-AOl5PAABoPHlMIMo93.jpeg
         */

        private int flag;
        private String create_time;
        private Object modify_time;
        private String name;
        private int id;
        private String goods_ids;
        private int sort;
        private int fupinguan_id;
        private String f_url;
        private List<ContextBean> context;

        public int getFlag() {
            return flag;
        }

        public void setFlag(int flag) {
            this.flag = flag;
        }

        public String getCreate_time() {
            return create_time;
        }

        public void setCreate_time(String create_time) {
            this.create_time = create_time;
        }

        public Object getModify_time() {
            return modify_time;
        }

        public void setModify_time(Object modify_time) {
            this.modify_time = modify_time;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getGoods_ids() {
            return goods_ids;
        }

        public void setGoods_ids(String goods_ids) {
            this.goods_ids = goods_ids;
        }

        public int getSort() {
            return sort;
        }

        public void setSort(int sort) {
            this.sort = sort;
        }

        public int getFupinguan_id() {
            return fupinguan_id;
        }

        public void setFupinguan_id(int fupinguan_id) {
            this.fupinguan_id = fupinguan_id;
        }

        public String getF_url() {
            return f_url;
        }

        public void setF_url(String f_url) {
            this.f_url = f_url;
        }

        public List<ContextBean> getContext() {
            return context;
        }

        public void setContext(List<ContextBean> context) {
            this.context = context;
        }

        public static class ContextBean {
            /**
             * text : 鸡蛋村盛产大鸡蛋
             * type : text
             */

            private String text;
            private String type;

            public String getText() {
                return text;
            }

            public void setText(String text) {
                this.text = text;
            }

            public String getType() {
                return type;
            }

            public void setType(String type) {
                this.type = type;
            }
        }
    }
}
